package com.park.model;

/**：
 * Created by cyp on 2018/6/7.
 *
 */
public class MicropayStopcarInfoEntity {

    private int id;//编号(后台查询的id)
    private String cardNumber;//车牌号码
    private int parkId;//停车场ID
    private String parkDesc;//停车场名称
    private String operatorId;//操作者
    private String chargeMoney;//要收多少钱
    private String out_trade_no;//商户订单号
    private String auth_code;//授权码
    private String mac;//硬件地址

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    public int getParkId() {
        return parkId;
    }

    public void setParkId(int parkId) {
        this.parkId = parkId;
    }

    public String getParkDesc() {
        return parkDesc;
    }

    public void setParkDesc(String parkDesc) {
        this.parkDesc = parkDesc;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public String getChargeMoney() {
        return chargeMoney;
    }

    public void setChargeMoney(String chargeMoney) {
        this.chargeMoney = chargeMoney;
    }

    public String getOut_trade_no() {
        return out_trade_no;
    }

    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }

    public String getAuth_code() {
        return auth_code;
    }

    public void setAuth_code(String auth_code) {
        this.auth_code = auth_code;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    private void SetParameter(
            int id,//编号(后台查询的id)
            String cardNumber,//车牌号码
            int parkId,//停车场ID
            String parkDesc,//停车场名称
            String operatorId,//操作者
            String chargeMoney,//要收多少钱
            String out_trade_no,//商户订单号
            String auth_code,//授权码
            String mac//硬件地址
    ){
        setId(id);
        setCardNumber(cardNumber);
        setParkId(parkId);
        setParkDesc(parkDesc);
        setOperatorId(operatorId);
        setChargeMoney(chargeMoney);
        setOut_trade_no(out_trade_no);
        setAuth_code(auth_code);
        setMac(mac);
    }

    @Override
    public String toString() {
        return "MicropayEntity{" +
                "id=" + id +
                ", cardNumber='" + cardNumber + '\'' +
                ", parkId=" + parkId +
                ", parkDesc='" + parkDesc + '\'' +
                ", operatorId='" + operatorId + '\'' +
                ", chargeMoney='" + chargeMoney + '\'' +
                ", out_trade_no='" + out_trade_no + '\'' +
                ", auth_code='" + auth_code + '\'' +
                ", mac='" + mac + '\'' +
                '}';
    }
}
